package com.wrench.elevator.tida.dao;

import java.util.List;
import java.util.Map;

public interface BuildingDao {
    List<Map<String, String>> queryDanyuanByProvinceId(String province_id, String wuye_id,int start,int limit);

    int queryDanyuanByProvinceIdCount(String province_id, String wuye_id);

    List<Map<String, String>> queryDanyuanByCityId(String city_id, String wuye_id,int start,int limit);

    int queryDanyuanByCityIdCount(String city_id, String wuye_id);

    List<Map<String, String>> queryDanyuanByDistrictId(String district_id, String wuye_id,int start,int limit);

    int queryDanyuanByDistrictIdCount(String district_id, String wuye_id);

    List<Map<String, String>> queryDanyuanByBuildingId(String building_id,int start,int limit);

    int queryDanyuanByBuildingIdCount(String building_id);

    List<Map<String, String>> queryDanyuanByDanyuanId(String danyuan_id,int start,int limit);

    int queryDanyuanByDanyuanIdCount(String danyuan_id);

    List<Map<String, String>> queryChengtiComplainByProvinceId(String province_id, String wuye_id,int start,int limit);

    int queryChengtiComplainByProvinceIdCount(String province_id, String wuye_id);

    List<Map<String, String>> queryChengtiComplainByCityId(String city_id, String wuye_id,int start,int limit);

    int queryChengtiComplainByCityIdCount(String city_id, String wuye_id);

    List<Map<String, String>> queryChengtiComplainByDistrictId(String district_id, String wuye_id,int start,int limit);

    int queryChengtiComplainByDistrictIdCount(String district_id, String wuye_id);

    List<Map<String, String>> queryChengtiComplainByBuildingId(String building_id,int start,int limit);

    int queryChengtiComplainByBuildingIdCount(String building_id);

    List<Map<String, String>> queryChengtiComplainByDanyuanId(String danyuan_id,int start,int limit);

    int queryChengtiComplainByDanyuanIdCount(String danyuan_id);

    int dealComplain(String status,String chengti_id);

    List<Map<String, String>> queryDanyuanByBuildingName(String buildingName, String wuye_id,int start,int limit);

    int queryDanyuanByBuildingNameCount(String province_id, String wuye_id);

    int queryChengtiComplainByTelCount(String province_id, String wuye_id);

    List<Map<String, String>> queryChengtiComplainByTel(String province_id, String wuye_id,int start,int limit);
}
